package com.example.quartz.single.task;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Component;

@Configuration
@Component
@EnableScheduling
public class ScheduleTask {
    public void scheduleTest() {
        System.out.println("开始定时执行...");
    }
}
